package com.jingdianjichi.subject.domain.convert;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBo;
import com.jingdianjichi.subject.domain.entity.SubjectRadioBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;

@Mapper
public interface SubjectInfoConvert {

    SubjectInfoConvert INSTANCE=Mappers.getMapper(SubjectInfoConvert.class);

    SubjectInfo convertBoToSubject(SubjectInfoBO subjectInfoBO);

    SubjectRadio convertBoToSubject(SubjectRadioBO subjectRadioBO);

    List<SubjectInfoBO> convertListBoToSubject(List<SubjectInfo> subjectInfo);

    SubjectInfoBO convertOptionBoToSubject(SubjectOptionBo subjectOptionBo,SubjectInfo subjectInfo);


}
